package com.sea.finance.service;


import com.sea.finance.entity.Inventory;
import com.sea.finance.entity.Payment;

import java.io.InputStream;
import java.util.List;

/**
 * @author 陈鸿飞
 */
public interface PaymentService {

    /**
     * 查询指定
     * @param payment
     * @return
     */
    List<Payment> findByCnd(Payment payment);

    /**
     * 新增
     * @param payment
     * @return
     */
    int save(Payment payment);

    void importPayment(InputStream inputStream, String fileName) throws Exception;

    void importDealPayment(InputStream inputStream, String fileName) throws Exception;

}
